| | |
| | | where by_id=#{byId} |
| | | </update> |
| | | |
| | | <select id="weighbridgeList" resultType="com.thhy.materials.modules.biz.weigh.entity.TWeighbridge"> |
| | | select |
| | | weighbridge_id as weighbridgeId, |
| | | id, |
| | | code, |
| | | orgName, |
| | | supplyOrgName, |
| | | carNumber, |
| | | driverName, |
| | | matName, |
| | | matModel, |
| | | mPoundTime, |
| | | mPoundWeight, |
| | | mPoundName, |
| | | pPoundTime, |
| | | pPoundWeight, |
| | | pPoundName, |
| | | jPoundWeight, |
| | | buckleWeight, |
| | | mWeight, |
| | | pWeight, |
| | | jWeight, |
| | | wareName, |
| | | fileImage, |
| | | types |
| | | from t_weighbridge where |
| | | 1=1 |
| | | <if test="carNumber!=null and carNumber!='' "> |
| | | and carNumber like concat('%',#{carNumber},'%') |
| | | </if> |
| | | <if test="matName!=null and matName!='' "> |
| | | and matName like concat('%',#{matName},'%') |
| | | </if> |
| | | order by weighbridge_id desc |
| | | </select> |
| | | |
| | | </mapper> |